package com.wms.mapper;

import com.wms.entity.WmsMenu;
import com.wms.entity.WmsRoleMenu;
import com.wms.entity.WmsUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper {

    @Select("select * from wms_menu where menu_id = #{menuId}")
    WmsMenu findById(long menuId);


    List<WmsMenu> findByPid(long parentId,List<WmsRoleMenu> roleMenus);
}
